using Assets.Scripts.GDK;
using System.Collections.Generic;
using UnityEngine;

namespace Brick
{
	public class WordInfoAlertPoints : gdk_base_UI
	{
		public RectTransform content;

		public List<RectTransform> itemList;

		public void OnData(int count)
		{
		}

		public void OnShowData(int index)
		{
			int count = itemList.Count;
			for (int i = 0; i < count; i++)
			{
				RectTransform rectTransform = itemList[i];
				rectTransform.GetChild(0).gameObject.SetActive(i == index);
				rectTransform.GetChild(1).gameObject.SetActive(i != index);
			}
		}
	}
}

